/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfafa;
    margin: 10px;/**/
    max-width: 1600px;    
    /* largeur max*/
    margin: 10px auto;
}

/* Système de grille principal */
.grid-container {
    display: grid;
    gap: 20px;
    padding: 0px 20px 20px 20px;
    /*padding: 20px 0;*/
}

/* Classes de grille sémantiques */
.grid-row-2 {
    grid-template-columns: 1fr 3fr;
}

.grid-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-row-half {
    grid-template-columns: repeat(2, 1fr);
}

.grid-row-1 {
    grid-template-columns: repeat(1, 1fr);
}


/* Blocs de contenu */
.grid-item {
    background: rgba(236, 228, 228, 0.904);
    /* a modifier en prod*/
    padding: 5px 10px 0px 10px;
    /* marge intérieur du bloc*/
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Header */
.header {
    font-weight: 700;
    font-size: 21px;
    background-color: #b4deb3;
    /* Fond vert clair */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Menu latéral à l'ouverture */
.sidebar {
    font-weight: 700;
    font-size: 21px;
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    z-index: 1000;
    padding: 20px;
}

.sidebar.active {
    left: 0;
}

.sidebar-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
}

.sidebar a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Image responsive */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.image-caption {
    font-style: italic;
    color: #666;
    text-align: center;
    font-size: 14px;
}

/* Typographie
h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
    color: #34495e;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #34495e;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
    color: #34495e;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
}
 */



/* Listes */

/* Style des listes */
ul {
    margin: 3px 0;
    /* Décalage à gauche */
    line-height: 1.0;
    /* Lignes très serrées */
}

li {
    font-weight: 600;
    /* Police en gras */
    margin-bottom: 10px;
    /* Espacement réduit entre les éléments */
}


.list-mod1 {
    margin: 3px 0;
    padding-left: 80px;
    /* Décalage à gauche */
    line-height: 1.2;
    /* Lignes très serrées */
}

.list-mod1 li {
    font-weight: 600;
    /* Police en gras */
    margin-bottom: 4px;
    /* Espacement réduit entre les éléments */
}

/* Responsive */
@media (max-width: 768px) {
    .list-mod1 {
        padding-left: 20px;
        /* Décalage légèrement réduit sur mobile */
    }
}

/* rajouts */
p.citation {
    font-weight: 700;
    line-height: 1.2;
    /* Espacement très serré entre les lignes */
    margin: 10px 0px 5px 0px;
    /* Espace entre les paragraphes */
}
        .section-centree {/*centre les objets d'une box*/
            display: flex;
            justify-content: center;
            height: 100vh;
            /* Prend toute la hauteur de la fenêtre */
            text-align: center;
            border: 1px solid #ccc;
            /* Juste pour visualiser la section */
            padding: 0px;
            box-sizing: border-box;
        }


.social-icons {
    /* centrage des icones*/
    display: flex;
    justify-content: center;
}

.zoom {
    font-size: 110%;
}

.reduc-img-60 {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
}


.reduc80 {
    font-size: 80%;
}

.text-center {
    text-align: center;
}

.section-center {
    align-items: center;
}

/* marges padding  espaces Aligner les éléments par rapport à l’axe de ligne horizontal  ou les colonnes vertical */
.pt-3 {
   padding-top: 3rem !important;
}

.pt-50 {
   margin: 50px 0;
}

.pl-3 {
    padding-left: 3rem !important;
}

.pl-5 {
    padding-left: 5rem !important;
}
.mt-1 {
    margin-top: 1rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.ml-5 {
    margin-left: 3rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.pl-5 {
    padding: 3rem !important;
}

.px-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

.pxy {
    padding: 5px;
}


/* Citation */

.modern-quote {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3498db; /* Bleu pour la citation */
  margin: 1.5rem 0.5rem 0rem 3.5rem;/* déclage du bloc à droite*/
  padding: 0.7rem 1.5rem;
  border-left: 4px solid #3498db;
  background: #f9f9f9;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 100%;
  box-sizing: border-box;
}

.modern-quote footer {
  margin-top: 0.8em;
  text-align: right;
}

.modern-quote cite {
  font-style: italic;
  font-weight: normal;
  color: #3498db; /* Bleu pour l'auteur */
  font-size: 0.9em;
}

/* Responsive: s'adapte à la taille de l'écran */
@media (max-width: 600px) {
  .modern-quote {
    padding: 0.8em 1em;
    font-size: 1em;
  }  
}


/* Responsive: adaptation pour petits écrans */
@media (max-width: 600px) {
    blockquote {
        font-size: 1rem;
        padding: 1rem;
    }

    blockquote::before, blockquote::after {
        font-size: 2rem;
    }
}


/* Fil d'ariane */
.breadcrumb {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    text-decoration: none;
    color: #3498db;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
}

/*
.social-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #3498db;
}

*/

/* Footer */
.footer {
    background-color: #b4deb3;
    color: white;
    padding: 1px 20px 20px;
    border-radius: 10px;
    margin-top: 5px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-links a {
    display: block;/*
    color: white;*/
    font-size: 1.2rem;
    text-decoration: none;
    margin-bottom: 0px;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal span {
    display: flex;/*
    align-items: center;*/
    gap: 8px;
}





/* Responsive Design telephone */
@media (max-width: 768px) {
    body {
        margin: 5px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .grid-container {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 15px 0;
    }

    .grid-item {
        padding: 15px;
    }

    .header {
        padding: 10px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-menu {
        flex-wrap: wrap;
        gap: 15px;
    }

    .breadcrumb {
        font-size: 14px;
    }
    
.reduc-img-60 {
    width: 100%;
}

}





@media (min-width: 769px) and (max-width: 1024px) {
    .grid-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }

}